/*
 * (c) 2007, Delsi Interactive
 * User: Usuario Deltatek
 * Date: 22/04/2007
 * Time: 09:53 p.m.
 */
 
/*
 * Clip - the heart of this editor
 * Every clip can have a lot of childs,
 * except the animation clips.
 * In that case the childs would be
 * frames.
 */

using System;
using System.Drawing;

namespace CSE
{
	/// <summary>
	/// Description of Clip.
	/// </summary>
	public class Clip
	{
		/*
		 * Constants
		 */
		public static readonly int SIZE = 32;
		
		/*
		 * Variables
		 */
		private System.Collections.ArrayList childs;
		public Rectangle r;
		public int type = Workspace.TYPE_CLIP;
		public string name = "";
		
		/*
		 * Constructor
		 */
		public Clip (string _name)
		{
			name = _name;
			childs = new System.Collections.ArrayList();
			r = new Rectangle(0,0,SIZE,SIZE);
		}
	}
}
